\hypertarget{class_stack}{\section{Stack$<$ T $>$ Class Template Reference}
\label{class_stack}\index{Stack$<$ T $>$@{Stack$<$ T $>$}}
}


{\ttfamily \#include $<$Stack.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_stack_aefee698059467258bbd79045aca62a63}{Stack} ()
\item 
\hyperlink{class_stack_a9e7a00875aefbdac560ab189b7bc61d1}{$\sim$\-Stack} ()
\item 
void \hyperlink{class_stack_a0e684095951ee83cb4ac5b55826b4871}{add} (T x)
\item 
T \hyperlink{class_stack_aa2ea0e8c3293648589dd734d52487408}{pop} ()
\item 
int \hyperlink{class_stack_ac95b0d81ce37ab6a3a4ab699dfa47e63}{length} ()
\item 
T \& \hyperlink{class_stack_af4206da5c0459232bebf0e0496a2c333}{operator\mbox{[}$\,$\mbox{]}} (const int depth)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
T $\ast$ \hyperlink{class_stack_a0a181f23018cf577337d5520604ec269}{increase\-Size} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
T $\ast$ \hyperlink{class_stack_a2436cd1e9f5c6ff71ad2d08e669de9de}{list}
\item 
int \hyperlink{class_stack_a0ad9aa95f34c33e2c6a5a0ca5a001b54}{size}
\item 
int \hyperlink{class_stack_aa4d1c573b312fa5d88b611991104e48d}{current}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$class Stack$<$ T $>$}



Definition at line 12 of file Stack.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_stack_aefee698059467258bbd79045aca62a63}{\index{Stack@{Stack}!Stack@{Stack}}
\index{Stack@{Stack}!Stack@{Stack}}
\subsubsection[{Stack}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Stack}$<$ T $>$\-::{\bf Stack} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_stack_aefee698059467258bbd79045aca62a63}


Definition at line 38 of file Stack.\-h.

\hypertarget{class_stack_a9e7a00875aefbdac560ab189b7bc61d1}{\index{Stack@{Stack}!$\sim$\-Stack@{$\sim$\-Stack}}
\index{$\sim$\-Stack@{$\sim$\-Stack}!Stack@{Stack}}
\subsubsection[{$\sim$\-Stack}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ {\bf Stack}$<$ T $>$\-::$\sim${\bf Stack} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_stack_a9e7a00875aefbdac560ab189b7bc61d1}


Definition at line 46 of file Stack.\-h.



\subsection{Member Function Documentation}
\hypertarget{class_stack_a0e684095951ee83cb4ac5b55826b4871}{\index{Stack@{Stack}!add@{add}}
\index{add@{add}!Stack@{Stack}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Stack}$<$ T $>$\-::add (
\begin{DoxyParamCaption}
\item[{T}]{x}
\end{DoxyParamCaption}
)}}\label{class_stack_a0e684095951ee83cb4ac5b55826b4871}


Definition at line 51 of file Stack.\-h.

\hypertarget{class_stack_a0a181f23018cf577337d5520604ec269}{\index{Stack@{Stack}!increase\-Size@{increase\-Size}}
\index{increase\-Size@{increase\-Size}!Stack@{Stack}}
\subsubsection[{increase\-Size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T $\ast$ {\bf Stack}$<$ T $>$\-::increase\-Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_stack_a0a181f23018cf577337d5520604ec269}


Definition at line 69 of file Stack.\-h.

\hypertarget{class_stack_ac95b0d81ce37ab6a3a4ab699dfa47e63}{\index{Stack@{Stack}!length@{length}}
\index{length@{length}!Stack@{Stack}}
\subsubsection[{length}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ int {\bf Stack}$<$ T $>$\-::length (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_stack_ac95b0d81ce37ab6a3a4ab699dfa47e63}


Definition at line 20 of file Stack.\-h.



References Stack$<$ T $>$\-::size.

\hypertarget{class_stack_af4206da5c0459232bebf0e0496a2c333}{\index{Stack@{Stack}!operator\mbox{[}$\,$\mbox{]}@{operator[]}}
\index{operator\mbox{[}$\,$\mbox{]}@{operator[]}!Stack@{Stack}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T\& {\bf Stack}$<$ T $>$\-::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{const int}]{depth}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_stack_af4206da5c0459232bebf0e0496a2c333}


Definition at line 24 of file Stack.\-h.



References Stack$<$ T $>$\-::list.

\hypertarget{class_stack_aa2ea0e8c3293648589dd734d52487408}{\index{Stack@{Stack}!pop@{pop}}
\index{pop@{pop}!Stack@{Stack}}
\subsubsection[{pop}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T {\bf Stack}$<$ T $>$\-::pop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_stack_aa2ea0e8c3293648589dd734d52487408}


Definition at line 62 of file Stack.\-h.



\subsection{Member Data Documentation}
\hypertarget{class_stack_aa4d1c573b312fa5d88b611991104e48d}{\index{Stack@{Stack}!current@{current}}
\index{current@{current}!Stack@{Stack}}
\subsubsection[{current}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ int {\bf Stack}$<$ T $>$\-::current\hspace{0.3cm}{\ttfamily [private]}}}\label{class_stack_aa4d1c573b312fa5d88b611991104e48d}


Definition at line 31 of file Stack.\-h.

\hypertarget{class_stack_a2436cd1e9f5c6ff71ad2d08e669de9de}{\index{Stack@{Stack}!list@{list}}
\index{list@{list}!Stack@{Stack}}
\subsubsection[{list}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T$\ast$ {\bf Stack}$<$ T $>$\-::list\hspace{0.3cm}{\ttfamily [private]}}}\label{class_stack_a2436cd1e9f5c6ff71ad2d08e669de9de}


Definition at line 29 of file Stack.\-h.



Referenced by Stack$<$ T $>$\-::operator\mbox{[}$\,$\mbox{]}().

\hypertarget{class_stack_a0ad9aa95f34c33e2c6a5a0ca5a001b54}{\index{Stack@{Stack}!size@{size}}
\index{size@{size}!Stack@{Stack}}
\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ int {\bf Stack}$<$ T $>$\-::size\hspace{0.3cm}{\ttfamily [private]}}}\label{class_stack_a0ad9aa95f34c33e2c6a5a0ca5a001b54}


Definition at line 30 of file Stack.\-h.



Referenced by Stack$<$ T $>$\-::length().



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/\-Data Structures/\hyperlink{_stack_8h}{Stack.\-h}\end{DoxyCompactItemize}
